Skip to content

Conversation

nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented May 28, 2025

No description provided.

@nikgraf nikgraf requested a review from Copilot May 28, 2025 09:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a Linux MUSL OpenSSL target to the Prisma generator to support Linux deployments.

  • Adds binaryTargets for native and linux-musl-openssl-3.0.x
  • Enables Prisma client generation for Linux environments
Comments suppressed due to low confidence (1)

apps/server/prisma/schema.prisma:8

  • [nitpick] Consider moving binaryTargets configuration into an environment-specific or shared config file to centralize platform targets and simplify future updates.
binaryTargets = ["native", "linux-musl-openssl-3.0.x"] // linux needed for the deployment

provider = "prisma-client"
output = "generated/client"
moduleFormat = "esm"
binaryTargets = ["native", "linux-musl-openssl-3.0.x"] // linux needed for the deployment
Copy link

Copilot AI May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The comment 'linux needed for the deployment' should capitalize 'Linux' and include a period at the end for consistency and readability.

Suggested change
binaryTargets = ["native", "linux-musl-openssl-3.0.x"] // linux needed for the deployment
binaryTargets = ["native", "linux-musl-openssl-3.0.x"] // Linux needed for the deployment.

Copilot uses AI. Check for mistakes.

@nikgraf nikgraf merged commit 18e3cc0 into main May 28, 2025
4 checks passed
@nikgraf nikgraf deleted the ng/add-prisma-linux-binary-target branch May 28, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant